package com.example.entity.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

import java.io.Serial;
import java.io.Serializable;

/**
 * 抽奖规则表
 *
 * @TableName t_prize_rule
 */
@TableName(value = "t_prize_rule")
@Data
@ToString
public class PrizeRule implements Serializable {

	@Serial
	@TableField(exist = false)
	private static final long serialVersionUID = 1L;
	@Schema(description = "商家id")
	@TableId
	private Long shopId;

	@Schema(description = "奖品id")
	private Long sequenceId;

	@Schema(description = "奖品设置")
	private Object awardSettings;

	@Schema(description = "最晚处理审核时间间隔（h）")
	private Integer lastAuditTime;

	@Schema(description = "是否允许再次提交")
	private Integer isAgain;

	@Schema(description = "最大提交次数")
	private Integer maxSubmit;

}